/* 顶部标题 */
#header{
    /* 用于兼容浏览器 */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;

    width: 100%;
    height: 140px;
    position: relative;
    min-width: 1280px;
    top: 0;
    z-index: 999;    
}
/* 吸顶状态 */
#header.header_anm .header_top {
    position: fixed;
    top: 0;
    background: #FFF;
    height: 46px;
    z-index: 10;
}
#header.header_anm .h-logo img {
    height: 28px;
    top:-12px;
    z-index: 20;

}
#header.header_anm .nav {
    -moz-transform: translateY(-50px);
    -o-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    
}
/*  */
.header-top{  
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    min-width: 1200px; 
    width: 100%;
    height: 80px;   
    position: relative;
    top: 0;
    padding: 0 40px; 
}
/* logo */
.h-logo{
    width: 114px;
    height: 58px;    
    float: left;  
}
.h-logo img{
    position: fixed;
    width: 92px;
    height: 32px;
    padding: 26px 26px 0 0 ;
}
.h-logo p{
    height: 21px;
    font-size: 16px;
    font-weight: bold;
    color:#999;   
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    margin: auto;
}
/* 搜索栏 */
.search{
    width: 400px;
    height: 40px;   
    position: absolute;
    margin:0 auto;
    margin-top: 20px;
    right: 0;
    left: -150px;
    text-align: left;
    font-size: 14px;     
}
.search .choices{
    position: absolute;
    width: 80px;
    height: 40px;
    color: #CF680A;
    line-height: 40px;
    text-align: center;
    border-right: 2px solid #fff;
    /* 显示小手 */
    cursor: pointer;
    
}
.search .choosed{
    display: block;
    width: 100%;
    height: 100%;
}
.search img{
    height: 16px;
    width: 16px;
    position: absolute;
    top: 0;
    bottom: 0; 
    margin: auto ;
    right: 10px;
}
.fa{
    font: normal normal normal 14px/1 FontAwesome;
}
.fa-caret-down:before {
    content: "\f0d7";
}
/* 搜索下拉 */
.choicebox{
    display: none;
    width: 81px;
    height: 80px;
    position: absolute;
    left: 0;
    color: #333;
    z-index: 100;
    background-color: #fff;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}    
.choicebox .choice{
    display: block;
    width: 100%;
    height: 39px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.choicebox .active{
    color: black;
    font-weight: bold;
}
/* 输入框 */
.search input{
    display: inline-block;
    width: 270px;
    height: 40px;
    
    line-height: 40px;
    border: none;
    background-color: #f8f8f8;
    padding:0 40px 0 90px ;
}

/* 主体部分 */
.header-content,.header-content2{
    float: right;
}
.content-box{
    width: 423px;
    height: 80px;
    color: black;
    /* overflow: hidden; */
}
.content-box a{
    float: left;
    color: #333;
    font-size: 14px;
}
.content-box div{
    float: left;
    height: 26px;
    margin: 27px 0 0 0;
    border-right: 2px solid #ddd;
    line-height: 26px;
    margin-right: 10px;
    padding-right: 10px;
    font-size: 14px;
}
.zcdl{
    width: 107px;
}
/* 手机部分 */
.content-box .download{
    border: none;
    margin-right: 0;
    padding-right: 0;
    position: relative;
}
.content-box .er{
    display: none;
    border: 1px solid #ddd;
    position: absolute;
    width: 200px;
    height: 180px;
    left: -130px;
    padding: 20px;
    top: 8px;
    text-align: center;
    z-index: 999;
    background-color: #fff;
}
.content-box .er img{
    width: 127px;
    height: 127px;
    margin: auto;
}
.content-box .er span{
    display: block;
    font-size: 12px;
}
.content-box div:hover{
    font-weight: bold;
}
.content-box .download:hover .er{
    display: block;
}
.IMG{
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
/* 下滑显示 */
.header-content2{
    display: none;
    width: 142px;
    height: 80px;
    position: fixed;
    right: 40px;
    z-index:20;
}
/* 顶部导航底部 */
.header-bottom{
    min-width: 1280px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    padding: 0 40px;
    background-color: #1f1f1f;
    position: fixed;
    top: 80px; 
}
.bottom-div{
    height: 100%;
    position: relative;
    margin: 0 auto;
}
.bottom-div .nav{
    position: fixed;
    min-width: 850px;
    left: 240px;
    width: 70%;
    /* margin: auto; */
    text-align: center;
    z-index: 10;  
}
.bottom-div .nav .ContentNav{
    display: inline-block;
    margin-right: 60px;
    position: relative;
}
.bottom-div .nav .ContentNav:hover>a{
    border-bottom: 2px solid #fff;
}
.bottom-div a{
    display: block;
    color:#fff;
    font-size: 16px;
    text-align: center;
    height: 48px;
    margin: 0 5px;
    border-bottom:2px solid #1f1f1f;
    line-height: 60px;  
}
.Nav-border a{
    border-bottom: 2px solid #fff;
}
.ysplist{
    position: absolute;
    width: 140px;
    left: -40px;
    top: 52px;
    background-color: #fff;
    height: 0;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0px 1px 2px #999;
}
.ysplist a{
    color: #333 !important;
    border: none;
    // z-index: 999;
}
.bottom-div .nav .ContentNav:hover ul{
    height: 192px;
}
.bottom-div .CarShop{
    position: absolute;
    right: 30px;
    height: 60px;
    line-height: 60px;
}
.bottom-div .CarShop img{
    display: block;
    float: left;
    width: 24px;
    height: 23px;
    margin-right: 10px;   
    margin-top: 16px;
} 
.bottom-div .CarShop span{
    display: block;
    float: left;
}
// 筛选部分
.simple{
    width: 92.5%;
    height: 310px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    a{
        font-size: 14px;
        color: #666; 
        display: block;
        font-style: normal !important;
    }
    i{
        font-style: normal !important;
    }
    // 左边
    .choice-left{
        padding-left: 7.5%;
        float: left;
        width: 42.2%;
        line-height: 80px;
        a{
            display: inline-block;
            width: 13%;
            // float: left;
            height: 16px;
            margin-right: 2px;
        } 
        b{
            font-size: 14px;
            margin-right: 50px;
        }
        .price,.size,.shape{
            a{background-color: #ddd;}
        }
        .price,.size{
            position: relative;
            i:first-of-type{
                margin-left: -5px;
            }      
            i{
                position: absolute;
                font-size: 12px;
                top: 15px;
                font-style: inherit;
                width: 0;
                height: 0;
                margin-left: -20px;
            }
        }
        .color{
            .red{
                background-color: red !important;
            }
            .yellow{
                background-color: yellow !important;
            }
            .green{
                background-color: green !important;
            }
            .blue{
                background-color: blue !important;
            }
            .bwg{
                position: relative;
                background-color: #999  !important;
            }
        }
        .shape{
            line-height: 40px;
            a{
                transform: translate(0, 50%);
                background-color: #fff;
                border: 1px solid #666;
                margin-right: 10%;
                margin-top: -10px;
            }
            .square{
                width: 24px;
                height: 24px;
            }
            .la-Rec{
                height: 16px;
                width: 32px;
            }
            .lo-Rec{
                width: 16px;
                height: 32px;
            }
            .round{
                width: 24px;
                height: 24px;
                border-radius: 50%;
            }
            .irregular{
                border: none;
                width: 0;
                height: 0;
                text-decoration: none;
                color: #666;
                font-size: 36px;
                position: relative;
                top: 14px;
                img{
                    width: 30px;
                }
            }
        }
    }
    // 中间
    .choice-middle{
        float: left;
        width: 17.5%;
        div{
            float: left;
            h3{
                margin: 10px 0;
                font-size: 14px;
            }
            ul{
                a{
                    line-height: 36px;
                    font-size: 14px;
                }
            }
            
        }
        .space{
            width: 62.5%;
        }
    }
    // 右边
    .choice-right{ 
        float: left;
        width: 32.5%;
        border-left: 1px solid #eee;
        div{
            float: left;
        }
        .text {
            cursor: pointer;
            text-align: center;
            float: left;
            width: 30%;
            margin-top: 35px;
            ul{
                margin-bottom: 30px;
                a{
                    line-height: 30px;
                }
            }
        }
        .show-wall{
            background: url("https://cdn.ywart.com/material/goodsbuy/20160727/02.jpg") no-repeat;
            
            background-size: cover !important;
            margin-top: 18px;
            height: 274px;
            float: left;
            width: 70%;
            text-align: center;
            color: #fff;
            padding-top: 30px;
            position: relative;
            .cover-hidden{
                background:url("https://cdn.ywart.com/content/image/WallPaper/line-bg.png") repeat-x;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
            }
            h2{
                font-size: 24px;
                font-weight: 500;
                position: relative;
                z-index: 2;
            }
            hr{
                margin: 20px auto;
                background-color: #fff;
                border: none;
                height: 1px;
                width: 30%;
                position: relative;
                z-index: 2;
            }
            p{
                line-height: 26px;
                text-align: left;
                margin: 0 auto;
                width: 90%;
                font-size: 14px;
                position: relative;
                z-index: 2;
            }
        }
    }
}

// 数据加载 瀑布流+分页
.waterfall-container{
    margin: auto;
    max-width: 1200px;
    margin-top: 40px;
    position: relative;
    .waterfall-wrapper{
        position: absolute;
        width: 1200px;
        .grid-item{
            width: 310px;
            min-height: 100px;
            float: left;
            background: #FFF;
            position: relative;
            margin: 20px 36px 40px 46px !important;
            .thumb{
                position: relative;
                img{
                    // position: relative;
                    display: block;
                    cursor: pointer;
                    border: 0;
                   
                }
            }
            .detail{
                position: relative;
                
                width: 300px;
                padding: 12px 0 0 0;
                font-size: 16px;
                color: #999;
                padding-left: 30px;
                h2{      
                    font-size: 16px;
                }
                h4{
                    width: 100%;
                    height: 30px;
                    overflow: hidden;
                    white-space:nowrap;
                    text-overflow:ellipsis;
                    margin-top: 5px;
                }
                span{ 
                    display: block;
                    float: left;
                    font-size: 14px;
                    margin: 5px 0;               
                }
                p{
                    display: block;
                    float:right;
                    font-size: 16px;
                    font-weight: 600;
                    border-bottom: 1px solid yellowgreen;
                }
            }
        }
        
    }       
}